package com.ruix.app.model;

import org.json.JSONObject;

/**
 * Created by hadexs on 2017/5/23.
 */

public class LessonPostMember {

    private String uid;
    private String name;
    private String avatar;

    public LessonPostMember parse(JSONObject json){
        if (json != null){
            setUid(json.optString("uid"));
            setName(json.optString("name"));
            setAvatar(json.optString("avatar"));
        }

        return this;
    }


    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}
